﻿
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace WPay.Domain.Model.Entities
{
    public class MngrRole
    {

        /// <summary>
        /// 编号
        /// </summary>
        [DisplayName(@"编号")]
        [Key]
        public string ID { get; set; }

        /// <summary>
        /// 角色编号
        /// </summary>
        [DisplayName(@"角色编号")]
        public string RoleId { get; set; }

        /// <summary>
        /// 会员编号
        /// </summary>
        [DisplayName(@"员工编号")]
        public string MemberId { get; set; }

        /// <summary>
        /// 逻辑删除
        /// </summary>
        [DisplayName(@"逻辑删除")]
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [DisplayName(@"创建时间")]
        public DateTime CreateTime { get; set; }
        [NotMapped]
        public virtual MngrBaseInfo BaseInfo { get; set; }
        [NotMapped]
        public virtual SysRole Role { get; set; }
    }
}